<?php include('includes/start_session.php') ?>
<?php include('includes/user_login.php') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <title>e-class - login</title>
    <link href="styles/site.css" rel="stylesheet" type="text/css" />
</head>
<body>
   	<?php include('includes/header.php') ?>
    <div id="content" class="content_padding">
    	<form action="login.php?action=login" method="post">
        	<table class="big_table">
            	<tr>
                	<td colspan="2">
                    	<h2>Σύνδεση</h2>
                    </td>
                </tr>
                <?php
                	if($error != '')
                   		echo '<tr><td colspan=\"2\">' . $error . '</td></tr>';
				?>
                <tr>
                   <td>
                	    <span>Όνομα χρήστη:</span>
                   </td>
                   <td>
                   		<input type="text" name="username" />
                   </td>
                </tr>
                <tr>
                	<td>
                    	<span>Συνθηματικό:</span>
                    </td>
                    <td>
                    	<input type="password" name="pass" />
                    </td>
               	</tr>
               	<tr>
               		<td colspan="2">
                    	<input type="checkbox" name="rememberme" />
                        <span>Να με θυμάσαι</span>
                    </td>
                </tr>
                <tr>
                	<td colspan="2">
                    	<a class="small_anchor" href="register.php">δεν έχετε λογαριασμό ? δημιουργήστε εδώ</a>
                    </td>
               	</tr>
                <tr>
                	<td colspan="2" class="right_align">
                    	<input type="submit" value="Σύνδεση" />
                    </td>
                </tr>
         	</table>
   		</form>
	</div>
	<?php include('includes/footer.php') ?>
</body>
</html>
